<el-form :model="form" ref="submit" :rules="rules">
    <form-input label="模块名称" v-model="form.title" />
    <form-input label="图标" v-model="form.icon" />
    <a target="_blank" href="http://www.fontawesome.com.cn/faicons/">图标去这里搜索</a>
    <form-input label="路由" v-model="form.url" />
    <form-input label="顺序" v-model="form.sort" />
    <form-switch label="是否菜单" v-model="form.menu"/>
    <tree-select label="父级模块" placeholder="请选择" api="sys/sys_mod/list" v-model="form.p_id"></tree-select>
</el-form>